package com.konne.nightmare.FastPublicOpinion.ui.personal.adapter;

import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.Switch;
import android.widget.TextView;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.konne.nightmare.FastPublicOpinion.R;
import com.konne.nightmare.FastPublicOpinion.utils.DeviceUtil;

import java.util.List;

/**
 * @Author: chen
 * @UpdateDate: 1/23/22
 * @UpdateRemark:
 */
public class NoticeClassAdapter extends BaseQuickAdapter<String, BaseViewHolder> {


    public NoticeClassAdapter(int layoutResId, @Nullable List<String> data) {
        super(layoutResId, data);

    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {

        TextView tvContent = (TextView) helper.getView(R.id.tv_content);
        Switch switchContent = (Switch) helper.getView(R.id.switch_content);

        tvContent.setText(item);


    }
}
